home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 18 code / OSA Sample / SimpliFace.make < prev   
Encoding:
Text File  |  1994-01-28  |  5.2 KB  |  195 lines  |  [TEXT/MPS ]

  1. # Makefile for SimpliFace, Copyright © 1993, commstalk hq
  2.  
  3. Sources             = :Sources:
  4. Objects                = :Objects:
  5. Built                = :Built:
  6.  
  7. "{Objects}"    ƒ "{Sources}"
  8.  
  9. .a.o    ƒ    .a
  10.     Echo "∂t∂tAssembling {Default}.a"
  11.     Asm {DepDir}{Default}.a -o {Targ} -lo {Targ}.lst {StdADump} {AOptions} {StdAIncludes}
  12.  
  13. .c.o    ƒ    .c
  14.     Echo "∂t∂tCompiling {Default}.c"
  15.         C {DepDir}{Default}.c -o {Targ} {StdCDump} {COptions} {StdCIncludes}
  16.  
  17. .cp.o    ƒ    .cp
  18.     Echo "∂t∂tCompiling {Default}.cp"
  19.         FilterCPlusOutput {DepDir}{Default}.cp -o {Targ} {StdCPDump} {CPOptions} {StdCPIncludes}
  20.  
  21. .p.o    ƒ    .p
  22.     Echo "∂t∂tCompiling {Default}.p"
  23.         Pascal {DepDir}{Default}.p -o {Targ} {StdPDump} {POptions} {StdPIncludes}
  24.  
  25. TARGETS = "{Objects}SimpliFace.obj" ∂
  26.     "{Built}SimpliFace"
  27.  
  28. DOT_H = "{Sources}TrapAvailable.cp"
  29.  
  30. DOT_R = "{Sources}SimpliFace.r"
  31.  
  32. SRCS = "{Sources}SimpliFace.cp"
  33.  
  34. # For "{Objects}SimpliFace.obj"
  35. OBJS_00 = "{Objects}Application.cp.o" ∂
  36.         "{Objects}SimpliFace.cp.o" ∂
  37.         "{Objects}WindowObj.cp.o" ∂
  38.         "{Objects}ScriptableObjects.cp.o" ∂
  39.         "{Objects}ScriptUtils.cp.o" ∂
  40.         "{Objects}ObjModelEvents.cp.o" ∂
  41.         "{Objects}ObjModelTokens.cp.o" ∂
  42.         "{Objects}PascalString.cp.o" ∂
  43.         "{Objects}ListOfLongs.cp.o"  ∂
  44.         "{Objects}DebugTrace.cp.o" 
  45.  
  46. # pre-built libraries, for "{Objects}SimpliFace.obj"
  47. LIBS_00 = "{Libraries}Runtime.o" ∂
  48.         "{Libraries}Interface.o" ∂
  49.         "{CLibraries}"CPluslib.o ∂
  50.         "{CLibraries}"StdCLib.o ∂
  51.         "{PLibraries}"PasLib.o ∂
  52.         "{Libraries}"AEObjectSupportLib.o ∂
  53.         "{Sources}"DebugTranscript.lib ∂
  54.         "{Sources}"AEGizmosWithGlobals.lib
  55.  
  56. # For "{Built}SimpliFace"
  57. RES_01 = "{Sources}SimpliFace.r"
  58.  
  59. CPlus        = CPlus
  60. StdAIncludes = -i "{AIncludes}" -i "{Sources}"
  61. StdCIncludes = -i "{CIncludes}" -i "{Sources}"
  62. StdPIncludes = 
  63. StdCPIncludes = -i "{CIncludes}" -i "{Sources}"
  64. StdADump     = 
  65. StdCDump     = 
  66. StdPDump     = 
  67. StdCPDump    =  
  68. LIB          = Lib {SymbolOption}
  69. LINK         = ILink {SymbolOption} -model far
  70. COUNT        = Count
  71. COUNTOPTS    = 
  72. CTAGS        = Ctags
  73. CTAGSOPTS    = -p -local -update
  74. DELETE       = Delete
  75. DELETEOPTS   = -i
  76. FILES        = Files
  77. FILESOPTS    = -l
  78. LIBOPTS      = 
  79. LINKOPTS     = 
  80. MAKEFILE     = Makefile
  81. PRINT        = Print
  82. PRINTOPTS    = 
  83. REZ          = Rez
  84. SETFILE      = SetFile
  85. SETFILEOPTS  = -t 'MPST' -c 'MPS '
  86.  
  87. AOptions = {MyPreAOptions} -model far -case on {SymbolOption} {ModelOption} {MyAOptions}
  88.  
  89. COptions = {MyPreCOptions} -model far -mf -b2 -w2 -opt full {SymbolOption} {ModelOption} {MyCOptions}
  90.  
  91. POptions = {MyPrePOptions}  {SymbolOption} {ModelOption} {MyPOptions}
  92.  
  93. ROptions = {MyPreROptions}  {SymbolOption} {ModelOption} {MyROptions}
  94.  
  95. CPOptions = {MyPreCPlusOptions} -model far -sym on,nolines -mf -b2 -opt full -w1 -z15 -z17 -y "{Boot}" {SymbolOption} {ModelOption} {MyCPlusOptions}
  96.  
  97. all    ƒ {TARGETS}
  98.  
  99. "{Objects}SimpliFace.obj"    ƒƒ {OBJS_00} {LIBS_00}
  100.     Echo "∂t∂tLinking {Targ}"
  101.     {LINK} -d -t APPL -c '????' -o {Targ} {OBJS_00} {LIBS_00}
  102. "{Objects}SimpliFace.obj"    ƒƒ {OBJS_00} {LIBS_00}
  103.         If `exists "{Objects}SimpliFace.obj.SYM"`
  104.             move -y "{Objects}SimpliFace.obj.SYM" "{Built}SimpliFace.SYM"
  105.         end
  106.  
  107. "{Built}SimpliFace"    ƒƒ {RES_01} ∂
  108.         "{RIncludes}SysTypes.r" "{RIncludes}Types.r" ∂
  109.         "{Sources}SimpliFaceEvents.h" ∂
  110.         "{Objects}SimpliFace.obj" ∂
  111.         "{Sources}VersionResource.r"
  112.     Echo "∂t∂tRezzing {Targ}"
  113.     {REZ} -t APPL -c SIMF -s "{Objects}" ∂
  114.         -i "{Sources}" ∂
  115.         -i "{RIncludes}" -i "{Objects}" -o {Targ} {RES_01}
  116.  
  117. "{Built}SimpliFace"    ƒƒ {RES_01} ∂
  118.         "{RIncludes}SysTypes.r" "{RIncludes}Types.r" ∂
  119.         "{Sources}SimpliFaceEvents.h" ∂
  120.         "{Objects}SimpliFace.obj" ∂
  121.         "{Sources}VersionResource.r"
  122.     {SETFILE} -a iB -t APPL -c SIMF {Targ}
  123.  
  124. clean    ƒ
  125.     {DELETE} {DELETEOPTS} {OBJS_00}
  126.  
  127. clobber    ƒ clean
  128.     {DELETE} {DELETEOPTS} {TARGETS}
  129.  
  130. count    ƒ
  131.     {COUNT} {COUNTOPTS} {DOT_H} {DOT_R} {SRCS}
  132.  
  133. files    ƒ
  134.     {FILES} {FILESOPTS} {TARGETS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} {OBJS_00}
  135.  
  136. print    ƒ
  137.     {PRINT} {PRINTOPTS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS}
  138.  
  139. tags    ƒ {DOT_H} {SRCS}
  140.     {CTAGS} {CTAGSOPTS} {C_INCDIRS} {NewerDeps}
  141.  
  142. "{Objects}SimpliFace.cp.o" ƒ ∂
  143.         "{Sources}ScriptableObjects.h" ∂
  144.         "{Sources}WindowObj.h" ∂
  145.         "{Sources}ObjModelEvents.h" ∂
  146.         "{Sources}ObjModelTokens.h" ∂
  147.         "{Sources}Application.h" ∂
  148.         "{Sources}SimpliFace.h" ∂
  149.         "{Sources}SimpliFaceCommon.h" ∂
  150.         "{Sources}TrapAvailable.cp"
  151.  
  152. "{Objects}Application.cp.o" ƒ ∂
  153.         "{Sources}ScriptableObjects.h" ∂
  154.         "{Sources}ObjModelEvents.h" ∂
  155.         "{Sources}ObjModelTokens.h" ∂
  156.         "{Sources}Application.h" ∂
  157.         "{Sources}ApplicationCommon.h" ∂
  158.         "{Sources}TrapAvailable.cp"
  159.  
  160. "{Objects}ObjModelEvents.cp.o" ƒ ∂
  161.         "{Sources}ScriptableObjects.h" ∂
  162.         "{Sources}ObjModelEvents.h" ∂
  163.         "{Sources}ObjModelTokens.h" ∂
  164.         "{Sources}ScriptUtils.h"
  165.  
  166. "{Objects}ObjModelTokens.cp.o" ƒ ∂
  167.         "{Sources}ScriptableObjects.h" ∂
  168.         "{Sources}ObjModelEvents.h" ∂
  169.         "{Sources}ObjModelTokens.h" ∂
  170.         "{Sources}ScriptUtils.h"
  171.  
  172. "{Objects}ScriptableObjects.cp.o" ƒ ∂
  173.         "{Sources}ScriptableObjects.h" ∂
  174.         "{Sources}ObjModelEvents.h" ∂
  175.         "{Sources}ObjModelTokens.h" ∂
  176.         "{Sources}ScriptUtils.h"
  177.  
  178. "{Objects}WindowObj.cp.o" ƒ ∂
  179.         "{Sources}WindowObj.h" ∂
  180.         "{Sources}ScriptableObjects.h" ∂
  181.         "{Sources}SimpliFace.h" ∂
  182.         "{Sources}ScriptUtils.h"
  183.  
  184. "{Objects}ScriptUtils.cp.o" ƒ ∂
  185.         "{Sources}ScriptUtils.h"
  186.  
  187. "{Objects}ListOfLongs.cp.o" ƒ ∂
  188.         "{Sources}ListOfLongs.h"
  189.         
  190. "{Objects}PascalString.cp.o" ƒ ∂
  191.         "{Sources}PascalString.h"
  192.         
  193. "{Objects}DebugTrace.cp.o" ƒ ∂
  194.         "{Sources}DebugTrace.h"
  195.